package com.yyk.yykywd.config;

import com.yyk.yykywd.BuildConfig;
import com.yyk.yykywd.BusinessPeopleInfoKt;

/**
 * 主要是存储 接口网址
 */

public interface HttpUrl {

    String DEV_URL = "http://test99.yunyikang.cn/"; //测试地址
    String DEV_PIC_URL = "http://test99.yunyikang.cn/"; //测试地址
    String DEV_H5_URL = "http://test99.yunyikang.cn/"; //测试h5地址
//    String DEV_PIC_URL = "https://oa.api.yunyikang.cn/"; //图片地址
//    String DEV_URL = "https://oa.api.yunyikang.cn/"; //正式地址
//    String DEV_H5_URL = "https://oa.api.yunyikang.cn/"; // 正式h5地址
    //
    String RELEASE_PIC_URL = "https://oa.api.yunyikang.cn/"; //图片地址
    String RELEASE_URL = "https://oa.api.yunyikang.cn/"; //正式地址
    String RELEASE_H5_URL = "https://oa.api.yunyikang.cn/"; // 正式h5地址

    String BASE_URL = BuildConfig.API_TYPE ? DEV_URL : RELEASE_URL;
    String BASE_H5_URL = BuildConfig.API_TYPE ? DEV_H5_URL : RELEASE_H5_URL;
    String BASE_PIC_URL = BuildConfig.API_TYPE ? DEV_PIC_URL : RELEASE_PIC_URL;

    String ADD_MATERIAL = HttpUrl.BASE_URL + "inside/WorkCount/img_upload";
    String ADD_CONTRACT_IMG = HttpUrl.BASE_URL + "inside/CloudImage/pact_img_upload";
    String BUSINESS_PROCESS_TRACKING = HttpUrl.BASE_URL + "h5bus/business?id=%s&type=%s";
}
